package dao;

import util.DBHelper;

import java.util.List;
import java.util.Map;

public class IndexAdvertisementDao {

    // 首页广告 查询1
    public List<Map<String, Object>> selectAdvertisement(){
        String sql = " select * from advertisement where tid = 11;";
        return DBHelper.selectListMap(sql);
    }

    public List<Map<String, Object>> selectAdvertisement2(){
        String sql = " select * from advertisement where tid = 16;";
        return DBHelper.selectListMap(sql);
    }
}
